home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HyperHackers.cpt
/
Hyper-Hackers Queue 1.0
/
card_15461.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
1KB
|
35 lines
-- card: 15461 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 3797
-- name:
-- part contents for background part 1
----- text -----
From: Jakob Nielsen Tech Univ of Denmark <DATJN@NEUVM1.Bitnet>
Date: Sun, 14 Feb 88 00:02:50 DNT
I am *very* upset that HyperCard does not send a CloseField message
when the user leaves a field by clicking directly on a button (i.e.
without clicking somewhere outside the field first).
Now I have again had problems because the handler which validates input
does not get run before the action is executed. Of course I can do some
checking in the button script, but this goes against any principle of
modular program design. I have 10 fields and 4 buttons so the code can
quickly get messy. Also, since HyperCard is so slow in interpreting
scripts, it takes a lot of time to validate input for 10 fields - this is
better spread out in small lumps.
I.e. I want future versions of HyperCard to make sure that a field
*always* gets sent a closeField message when the user has changed the
contents of that field. This message should be sent before any mouseUp or
closeCard messages
-- part contents for background part 45
----- text -----
Missing CloseField message when user clicks directly on a button